package com.arron.DesignMode.proxy.staticproxy;

/**
 * @Classname Client
 * @Date 2020/11/9 11:06
 * @Created by 刘
 */
public class Client {

    public static void main(String[] args) {

        //使用静态代理对原有的对象进行增强，可以进行一些日志，安全校验等操作
        TeacherDaoProxy teacherDaoProxy = new TeacherDaoProxy(new TeacherDao());
        teacherDaoProxy.teach();

    }

}
